import request from '@/utils/request'

// 查询入学前学生信息导入列表
export function listImport(query) {
  return request({
    url: '/student/import/list',
    method: 'get',
    params: query
  })
}

// 查询入学前学生信息导入详细
export function getImport(id) {
  return request({
    url: '/student/import/' + id,
    method: 'get'
  })
}

// 新增入学前学生信息导入
export function addImport(data) {
  return request({
    url: '/student/import',
    method: 'post',
    data: data
  })
}

// 修改入学前学生信息导入
export function updateImport(data) {
  return request({
    url: '/student/import',
    method: 'put',
    data: data
  })
}

// 删除入学前学生信息导入
export function delImport(id) {
  return request({
    url: '/student/import/' + id,
    method: 'delete'
  })
}
